package guo.pojo;

public class Customer {
    private String name;
    public String tel;

    private static Integer age = 5;

    private final String ss = "sss";

    static {
        System.out.println("customer static method");
    }

    public Customer(){

    }
    private Customer(String name,String tel){
        this.name = name;
        this.tel = tel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public static Integer getAge() {
        return age;
    }

    public static void setAge(Integer age) {
        Customer.age = age;
    }

    public String getSs() {
        return ss;
    }

    private String primethod(){
        System.out.println("私有方法1");
        return "siyou";
    }

    private String privatemethod(String name){

        System.out.println(name);
        return "private method name";
    }

    @Override
    public String toString() {
        return "Customer{" +
                "name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                '}';
    }
}
